package cn.bdqn.model.pojo;

import java.util.ArrayList;
import java.util.List;

public class CarconditioninfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CarconditioninfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andCarConditionNumberIsNull() {
            addCriterion("car_condition_number is null");
            return (Criteria) this;
        }

        public Criteria andCarConditionNumberIsNotNull() {
            addCriterion("car_condition_number is not null");
            return (Criteria) this;
        }

        public Criteria andCarConditionNumberEqualTo(Integer value) {
            addCriterion("car_condition_number =", value, "carConditionNumber");
            return (Criteria) this;
        }

        public Criteria andCarConditionNumberNotEqualTo(Integer value) {
            addCriterion("car_condition_number <>", value, "carConditionNumber");
            return (Criteria) this;
        }

        public Criteria andCarConditionNumberGreaterThan(Integer value) {
            addCriterion("car_condition_number >", value, "carConditionNumber");
            return (Criteria) this;
        }

        public Criteria andCarConditionNumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("car_condition_number >=", value, "carConditionNumber");
            return (Criteria) this;
        }

        public Criteria andCarConditionNumberLessThan(Integer value) {
            addCriterion("car_condition_number <", value, "carConditionNumber");
            return (Criteria) this;
        }

        public Criteria andCarConditionNumberLessThanOrEqualTo(Integer value) {
            addCriterion("car_condition_number <=", value, "carConditionNumber");
            return (Criteria) this;
        }

        public Criteria andCarConditionNumberIn(List<Integer> values) {
            addCriterion("car_condition_number in", values, "carConditionNumber");
            return (Criteria) this;
        }

        public Criteria andCarConditionNumberNotIn(List<Integer> values) {
            addCriterion("car_condition_number not in", values, "carConditionNumber");
            return (Criteria) this;
        }

        public Criteria andCarConditionNumberBetween(Integer value1, Integer value2) {
            addCriterion("car_condition_number between", value1, value2, "carConditionNumber");
            return (Criteria) this;
        }

        public Criteria andCarConditionNumberNotBetween(Integer value1, Integer value2) {
            addCriterion("car_condition_number not between", value1, value2, "carConditionNumber");
            return (Criteria) this;
        }

        public Criteria andLossAssessmentNumberIsNull() {
            addCriterion("loss_assessment_number is null");
            return (Criteria) this;
        }

        public Criteria andLossAssessmentNumberIsNotNull() {
            addCriterion("loss_assessment_number is not null");
            return (Criteria) this;
        }

        public Criteria andLossAssessmentNumberEqualTo(Integer value) {
            addCriterion("loss_assessment_number =", value, "lossAssessmentNumber");
            return (Criteria) this;
        }

        public Criteria andLossAssessmentNumberNotEqualTo(Integer value) {
            addCriterion("loss_assessment_number <>", value, "lossAssessmentNumber");
            return (Criteria) this;
        }

        public Criteria andLossAssessmentNumberGreaterThan(Integer value) {
            addCriterion("loss_assessment_number >", value, "lossAssessmentNumber");
            return (Criteria) this;
        }

        public Criteria andLossAssessmentNumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("loss_assessment_number >=", value, "lossAssessmentNumber");
            return (Criteria) this;
        }

        public Criteria andLossAssessmentNumberLessThan(Integer value) {
            addCriterion("loss_assessment_number <", value, "lossAssessmentNumber");
            return (Criteria) this;
        }

        public Criteria andLossAssessmentNumberLessThanOrEqualTo(Integer value) {
            addCriterion("loss_assessment_number <=", value, "lossAssessmentNumber");
            return (Criteria) this;
        }

        public Criteria andLossAssessmentNumberIn(List<Integer> values) {
            addCriterion("loss_assessment_number in", values, "lossAssessmentNumber");
            return (Criteria) this;
        }

        public Criteria andLossAssessmentNumberNotIn(List<Integer> values) {
            addCriterion("loss_assessment_number not in", values, "lossAssessmentNumber");
            return (Criteria) this;
        }

        public Criteria andLossAssessmentNumberBetween(Integer value1, Integer value2) {
            addCriterion("loss_assessment_number between", value1, value2, "lossAssessmentNumber");
            return (Criteria) this;
        }

        public Criteria andLossAssessmentNumberNotBetween(Integer value1, Integer value2) {
            addCriterion("loss_assessment_number not between", value1, value2, "lossAssessmentNumber");
            return (Criteria) this;
        }

        public Criteria andConditionInfoNameIsNull() {
            addCriterion("condition_info_name is null");
            return (Criteria) this;
        }

        public Criteria andConditionInfoNameIsNotNull() {
            addCriterion("condition_info_name is not null");
            return (Criteria) this;
        }

        public Criteria andConditionInfoNameEqualTo(String value) {
            addCriterion("condition_info_name =", value, "conditionInfoName");
            return (Criteria) this;
        }

        public Criteria andConditionInfoNameNotEqualTo(String value) {
            addCriterion("condition_info_name <>", value, "conditionInfoName");
            return (Criteria) this;
        }

        public Criteria andConditionInfoNameGreaterThan(String value) {
            addCriterion("condition_info_name >", value, "conditionInfoName");
            return (Criteria) this;
        }

        public Criteria andConditionInfoNameGreaterThanOrEqualTo(String value) {
            addCriterion("condition_info_name >=", value, "conditionInfoName");
            return (Criteria) this;
        }

        public Criteria andConditionInfoNameLessThan(String value) {
            addCriterion("condition_info_name <", value, "conditionInfoName");
            return (Criteria) this;
        }

        public Criteria andConditionInfoNameLessThanOrEqualTo(String value) {
            addCriterion("condition_info_name <=", value, "conditionInfoName");
            return (Criteria) this;
        }

        public Criteria andConditionInfoNameLike(String value) {
            addCriterion("condition_info_name like", value, "conditionInfoName");
            return (Criteria) this;
        }

        public Criteria andConditionInfoNameNotLike(String value) {
            addCriterion("condition_info_name not like", value, "conditionInfoName");
            return (Criteria) this;
        }

        public Criteria andConditionInfoNameIn(List<String> values) {
            addCriterion("condition_info_name in", values, "conditionInfoName");
            return (Criteria) this;
        }

        public Criteria andConditionInfoNameNotIn(List<String> values) {
            addCriterion("condition_info_name not in", values, "conditionInfoName");
            return (Criteria) this;
        }

        public Criteria andConditionInfoNameBetween(String value1, String value2) {
            addCriterion("condition_info_name between", value1, value2, "conditionInfoName");
            return (Criteria) this;
        }

        public Criteria andConditionInfoNameNotBetween(String value1, String value2) {
            addCriterion("condition_info_name not between", value1, value2, "conditionInfoName");
            return (Criteria) this;
        }

        public Criteria andLossAssessmentPriceIsNull() {
            addCriterion("loss_assessment_price is null");
            return (Criteria) this;
        }

        public Criteria andLossAssessmentPriceIsNotNull() {
            addCriterion("loss_assessment_price is not null");
            return (Criteria) this;
        }

        public Criteria andLossAssessmentPriceEqualTo(Integer value) {
            addCriterion("loss_assessment_price =", value, "lossAssessmentPrice");
            return (Criteria) this;
        }

        public Criteria andLossAssessmentPriceNotEqualTo(Integer value) {
            addCriterion("loss_assessment_price <>", value, "lossAssessmentPrice");
            return (Criteria) this;
        }

        public Criteria andLossAssessmentPriceGreaterThan(Integer value) {
            addCriterion("loss_assessment_price >", value, "lossAssessmentPrice");
            return (Criteria) this;
        }

        public Criteria andLossAssessmentPriceGreaterThanOrEqualTo(Integer value) {
            addCriterion("loss_assessment_price >=", value, "lossAssessmentPrice");
            return (Criteria) this;
        }

        public Criteria andLossAssessmentPriceLessThan(Integer value) {
            addCriterion("loss_assessment_price <", value, "lossAssessmentPrice");
            return (Criteria) this;
        }

        public Criteria andLossAssessmentPriceLessThanOrEqualTo(Integer value) {
            addCriterion("loss_assessment_price <=", value, "lossAssessmentPrice");
            return (Criteria) this;
        }

        public Criteria andLossAssessmentPriceIn(List<Integer> values) {
            addCriterion("loss_assessment_price in", values, "lossAssessmentPrice");
            return (Criteria) this;
        }

        public Criteria andLossAssessmentPriceNotIn(List<Integer> values) {
            addCriterion("loss_assessment_price not in", values, "lossAssessmentPrice");
            return (Criteria) this;
        }

        public Criteria andLossAssessmentPriceBetween(Integer value1, Integer value2) {
            addCriterion("loss_assessment_price between", value1, value2, "lossAssessmentPrice");
            return (Criteria) this;
        }

        public Criteria andLossAssessmentPriceNotBetween(Integer value1, Integer value2) {
            addCriterion("loss_assessment_price not between", value1, value2, "lossAssessmentPrice");
            return (Criteria) this;
        }

        public Criteria andManHourIsNull() {
            addCriterion("man_hour is null");
            return (Criteria) this;
        }

        public Criteria andManHourIsNotNull() {
            addCriterion("man_hour is not null");
            return (Criteria) this;
        }

        public Criteria andManHourEqualTo(String value) {
            addCriterion("man_hour =", value, "manHour");
            return (Criteria) this;
        }

        public Criteria andManHourNotEqualTo(String value) {
            addCriterion("man_hour <>", value, "manHour");
            return (Criteria) this;
        }

        public Criteria andManHourGreaterThan(String value) {
            addCriterion("man_hour >", value, "manHour");
            return (Criteria) this;
        }

        public Criteria andManHourGreaterThanOrEqualTo(String value) {
            addCriterion("man_hour >=", value, "manHour");
            return (Criteria) this;
        }

        public Criteria andManHourLessThan(String value) {
            addCriterion("man_hour <", value, "manHour");
            return (Criteria) this;
        }

        public Criteria andManHourLessThanOrEqualTo(String value) {
            addCriterion("man_hour <=", value, "manHour");
            return (Criteria) this;
        }

        public Criteria andManHourLike(String value) {
            addCriterion("man_hour like", value, "manHour");
            return (Criteria) this;
        }

        public Criteria andManHourNotLike(String value) {
            addCriterion("man_hour not like", value, "manHour");
            return (Criteria) this;
        }

        public Criteria andManHourIn(List<String> values) {
            addCriterion("man_hour in", values, "manHour");
            return (Criteria) this;
        }

        public Criteria andManHourNotIn(List<String> values) {
            addCriterion("man_hour not in", values, "manHour");
            return (Criteria) this;
        }

        public Criteria andManHourBetween(String value1, String value2) {
            addCriterion("man_hour between", value1, value2, "manHour");
            return (Criteria) this;
        }

        public Criteria andManHourNotBetween(String value1, String value2) {
            addCriterion("man_hour not between", value1, value2, "manHour");
            return (Criteria) this;
        }

        public Criteria andLossNumberIsNull() {
            addCriterion("loss_number is null");
            return (Criteria) this;
        }

        public Criteria andLossNumberIsNotNull() {
            addCriterion("loss_number is not null");
            return (Criteria) this;
        }

        public Criteria andLossNumberEqualTo(Integer value) {
            addCriterion("loss_number =", value, "lossNumber");
            return (Criteria) this;
        }

        public Criteria andLossNumberNotEqualTo(Integer value) {
            addCriterion("loss_number <>", value, "lossNumber");
            return (Criteria) this;
        }

        public Criteria andLossNumberGreaterThan(Integer value) {
            addCriterion("loss_number >", value, "lossNumber");
            return (Criteria) this;
        }

        public Criteria andLossNumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("loss_number >=", value, "lossNumber");
            return (Criteria) this;
        }

        public Criteria andLossNumberLessThan(Integer value) {
            addCriterion("loss_number <", value, "lossNumber");
            return (Criteria) this;
        }

        public Criteria andLossNumberLessThanOrEqualTo(Integer value) {
            addCriterion("loss_number <=", value, "lossNumber");
            return (Criteria) this;
        }

        public Criteria andLossNumberIn(List<Integer> values) {
            addCriterion("loss_number in", values, "lossNumber");
            return (Criteria) this;
        }

        public Criteria andLossNumberNotIn(List<Integer> values) {
            addCriterion("loss_number not in", values, "lossNumber");
            return (Criteria) this;
        }

        public Criteria andLossNumberBetween(Integer value1, Integer value2) {
            addCriterion("loss_number between", value1, value2, "lossNumber");
            return (Criteria) this;
        }

        public Criteria andLossNumberNotBetween(Integer value1, Integer value2) {
            addCriterion("loss_number not between", value1, value2, "lossNumber");
            return (Criteria) this;
        }

        public Criteria andLossAssessmentSumIsNull() {
            addCriterion("loss_assessment_sum is null");
            return (Criteria) this;
        }

        public Criteria andLossAssessmentSumIsNotNull() {
            addCriterion("loss_assessment_sum is not null");
            return (Criteria) this;
        }

        public Criteria andLossAssessmentSumEqualTo(Integer value) {
            addCriterion("loss_assessment_sum =", value, "lossAssessmentSum");
            return (Criteria) this;
        }

        public Criteria andLossAssessmentSumNotEqualTo(Integer value) {
            addCriterion("loss_assessment_sum <>", value, "lossAssessmentSum");
            return (Criteria) this;
        }

        public Criteria andLossAssessmentSumGreaterThan(Integer value) {
            addCriterion("loss_assessment_sum >", value, "lossAssessmentSum");
            return (Criteria) this;
        }

        public Criteria andLossAssessmentSumGreaterThanOrEqualTo(Integer value) {
            addCriterion("loss_assessment_sum >=", value, "lossAssessmentSum");
            return (Criteria) this;
        }

        public Criteria andLossAssessmentSumLessThan(Integer value) {
            addCriterion("loss_assessment_sum <", value, "lossAssessmentSum");
            return (Criteria) this;
        }

        public Criteria andLossAssessmentSumLessThanOrEqualTo(Integer value) {
            addCriterion("loss_assessment_sum <=", value, "lossAssessmentSum");
            return (Criteria) this;
        }

        public Criteria andLossAssessmentSumIn(List<Integer> values) {
            addCriterion("loss_assessment_sum in", values, "lossAssessmentSum");
            return (Criteria) this;
        }

        public Criteria andLossAssessmentSumNotIn(List<Integer> values) {
            addCriterion("loss_assessment_sum not in", values, "lossAssessmentSum");
            return (Criteria) this;
        }

        public Criteria andLossAssessmentSumBetween(Integer value1, Integer value2) {
            addCriterion("loss_assessment_sum between", value1, value2, "lossAssessmentSum");
            return (Criteria) this;
        }

        public Criteria andLossAssessmentSumNotBetween(Integer value1, Integer value2) {
            addCriterion("loss_assessment_sum not between", value1, value2, "lossAssessmentSum");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}